package com.dd.cloud.user.req.admin;

import com.dd.cloud.common.annotate.validation.Desc;
import com.dd.cloud.common.annotate.validation.Name;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 *  添加问题帮助类型
 * </p>
 *
 * @author czg
 * @since 2023-09-13
 */
@Data
public class UpdateProblemHelpTypeReq implements Serializable {

    private static final long serialVersionUID=1L;

    @NotNull(message = "id不能为空")
    private Integer id;
    /**
     * 类型标题
     */
    @Name(begin = "类型标题")
    private String title;

    /**
     * 问题类型状态
     */
    @NotNull(message = "问题类型状态不能为空")
    private Integer status;

    /**
     * 备注
     */
    @Desc(message = "备注", required = false)
    private String remarks;

    /**
     * 排序
     */
    private Integer sort;
}
